package com.zyong.design.pattern.template.case3;

/**
 * @program: zyong-design-pattern
 * @ClassName: SaveMoney
 * @author: zyong
 * @create: 2024-04-27 21:11
 */
public class SaveMoney extends AbstractClass {
    @Override
    public void doService() {
        System.out.println("办理存款业务");
    }

    /**
     * 覆盖钩子方法
     * @return
     */
    @Override
    public boolean isVip() {
        return true;
    }
}
